{% extends "meetup_group_frame.html" %}
{% block title %}
修改密码
{% endblock %}

{% block custom_header%}
<link rel="stylesheet" type="text/css" href="/static/css/font.css"
<STYLE type="text/css">
  LINE {padding-left: 1cm;color:red}
</STYLE>
{% endblock %}

{% block content %}
<form action="" method="post" enctype="multipart/form-data" name="form1" id="form1">
  <div id="C_page"  style="width: 100%"">
    <div id="C_pageBody"  style="width: 80%">
      <div id="C_context"  style="width: 100%">
        {% if failed %}
        <div  class="D_box error" style="margin: 0pt auto; margin-bottom:0.3cm; width: 70%;">
          <div class="D_boxbody">
            <div class="D_boxhead">
              <h2>::>_<:: 好菜啊，密码修改没有成功.</h2>
              <p style="color:red;">{{errmsg|safe}}</p>
            </div>
          </div>
        </div>
        {% endif %}
        {% if not failed and success %}
        <div  class="D_box success" style="margin: 0pt auto; margin-bottom:0.3cm; width: 70%;">
          <div class="D_boxbody">
            <div class="D_boxhead">
              <h2>^_^ 密码修改成功!</h2>
              <p style="color:green;">{{successMsg|safe}}</p>
            </div>
          </div>
        </div>
        {% endif %}
        <div class="D_box" style="margin: 0pt auto; width: 70%;">
          <div class="D_boxbody">
            <div style="">
              <div class="D_boxhead">
                <h1>修改密码</h1>
              </div>
              <!-- end of D-boxhead-->
              <!-- start -->
              <div class="D_boxsection">
                <p><strong>您当前的密码</strong></p>
                <p>
                <input type="password" name="oldpassword" value=""/>
                </p>
              </div>
              <div class="D_boxsection" >
                <div style="width:30%;float:left;">
                  <p><strong>输入您的新密码</strong></p>
                  <p>
                  <input type="password" name="newpassword" value=""/>
                  </p>
                </div>

                <div style="width:65%;float:right;">
                  <p><strong>再次输入您的新密码</strong></p>
                  <p>
                  <input type="password" name="newpassword2" value=""/>
                  </p>
                </div>
              </div>

              <div class="D_boxsection" >
                <p><label>
                  <input name="Submit" type="submit" class="D_submit" style="margin-left:45%" value="提交" />
                </label></p>
              </div>
            </div>
          </div>
        </div>
        <!-- C_context -->
      </div>
      <!-- C_pageBody -->
    </div>
    <!-- C_page -->
  </div>
</form>
{% endblock %}
